package com.mjf.jst.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * desc
 * </p>
 *
 * @author chenshoumeng
 * @date 2025/7/6 21:23
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ShopInfoVO {
    private Integer code;
    private String msg;
    private ShopInfoData data;


    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class ShopInfoData {
        private Integer page_index;
        private Integer page_size;
        private Boolean has_next; // 是否有下一页
        private List<ShopInfoDataList> datas;
    }
    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class ShopInfoDataList {
        private Long shop_id;           // 店铺编号

        private String shop_name;          // 店铺名称

        private Long co_id;             // 公司编号

        private String shop_site;          // 店铺站点

        private String shop_url;           // 店铺网址

        private String created;     // 创建时间

        private String nick;               // 主账号

        private String session_expired; // 授权过期时间

        private String session_uid;        // 会话用户编号

        private String short_name;         // 店铺简称

        private Long group_id;       // 分组 ID

        private String group_name;         // 分组名称

    }
}
